package com.ibeeking.found.file.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author MAC
 * @version 1.0
 * @description: TODO
 * @date 2021/12/7 22:05
 */
@Data
@TableName("image")
public class ImageDO  implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long imageId;

    /**
     * 文件id
     */
    @TableField(value = "file_id")
    private Long fileId;

    /**
     * 图像的宽
     */
    @TableField(value = "image_width")
    private Integer imageWidth;

    /**
     * 图像的高
     */
    @TableField(value = "image_height")
    private Integer imageHeight;
}
